<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>Document</title>
  <style>
    .box {
      width: 200px;
      height: 125px;
      overflow: hidden;
      margin: 20px auto;
      position: relative;

    }

    .bg,
    .lg {
      position: absolute;
      width: 100%;
    }

    .icon {
      width: 108px;
      height: 80px;
      position: absolute;
      overflow: hidden;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      opacity: 0
    }

    .box:hover .bg,
    .box:hover .lg {
      transform: scale(1.2);
      transition: all ease 2s;

    }



    @keyframes hide {
      0% {
        opacity: 0;
      }

      50% {
        opacity: 0.5;
      }

      100% {
        opacity: 1;
      }
    }

    .box:hover .icon {
      animation: hide 2s linear both;
    }
  </style>
</head>

<body>

  <div class="box">
    <div class="bg">
      <img src="./images/2-small.jpg" alt="">
    </div>

    <div class="icon">
      <div class="lg">
        <img src="./images/3-small.jpg" alt="">
      </div>

    </div>
  </div>
</body>

</html>